package com.qyhl.module_practice.activity.detail;


import com.qyhl.webtv.commonlib.entity.civilized.PracticeAcitivityBean;
import com.qyhl.webtv.commonlib.entity.civilized.PracticeIsVolunteerBean;

public interface PracticeActDetailContract {

    interface PracticeActDetailView {
        void setDetail(PracticeAcitivityBean bean);

        void getDetailError(String msg);

        void praiseSuccess(int num);

        void praiseError(String msg);

        void setIsVolunteer(PracticeIsVolunteerBean bean);

        void signResult(boolean isSuccess);
    }

    interface PracticeActDetailPresenter {
        void getDetail(String actId, String phone);

        void doPraise(String actId, String phone);

        void getIsVolunteer(String phone);

        void volunteerSign(String actId, String volId);

        void setDetail(PracticeAcitivityBean bean);

        void getDetailError(String msg);

        void praiseSuccess(int num);

        void praiseError(String msg);

        void setIsVolunteer(PracticeIsVolunteerBean bean);

        void signResult(boolean isSuccess);
    }

    interface PracticeActDetailModel {
        void getDetail(String actId, String phone);

        void doPraise(String actId, String phone);

        void getIsVolunteer(String phone);

        void volunteerSign(String actId, String volId);
    }
}
